/*
 * @Description:
 * @version:
 * @Author: sunqian_sr
 * @Date: 2023-01-05 21:25:31
 * @LastEditors: Andy
 * @LastEditTime: 2023-02-09 17:16:27
 */
const LoginLog = () => import('@/modules/maintain/views/loginLog.vue')
const LogError = () => import('@/modules/maintain/views/logError.vue')
const LogOper = () => import('@/modules/maintain/views/logOper.vue')
const LogMail = () => import('@/modules/maintain/views/logMail.vue')
const parentRouter = [
  {
    label: '系统维护',
    path: ''
  }
]
const routes = [
  {
    path: '/maintain/loginLog',
    name: 'loginLog',
    meta: {
      title: '登录日志',
      parentTitle: parentRouter
    },
    component: LoginLog
  },
  {
    path: '/maintain/logError',
    name: 'logError',
    meta: {
      title: '异常日志',
      parentTitle: parentRouter
    },
    component: LogError
  },
  {
    path: '/maintain/logOper',
    name: 'logOper',
    meta: {
      title: '操作日志',
      parentTitle: parentRouter
    },
    component: LogOper
  },
  {
    path: '/maintain/logMail',
    name: 'logMail',
    meta: {
      title: '邮件日志',
      parentTitle: parentRouter
    },
    component: LogMail
  }
]
export default routes
